package com.cxrj.zhsq.leaseManage.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cxrj.zhsq.leaseManage.entity.PropertyGoods;
import com.cxrj.zhsq.leaseManage.entity.PropertyGoodsType;

public interface GoodsService {

	public Map<String, Object> insertGoodsType(PropertyGoodsType propertyGoodsType);

	public Map<String, Object> seleteGoodsTypePage(HttpServletRequest request, HttpServletResponse response);

	public Map<String, Object> updateGoodsType(PropertyGoodsType propertyGoodsType);

	public Map<String, Object> seleteGoodsTypeById(String id);

	public Map<String, Object> insertGoods(PropertyGoods propertyGoods);

	public Map<String, Object> seleteGoodsPage(HttpServletRequest request, HttpServletResponse response);

	public Map<String, Object> updateGoods(PropertyGoods propertyGoods);

	public Map<String, Object> seleteGoodsById(String id);
	
	public Map<String, Object> selectGoodsTypeByAll(HttpServletRequest request);
}
